﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RooHui.Infrastructure.Entities.Enum;

namespace RooHui.Portal.Biz.Model
{
    public class ProjectItemModel
    {
        public int ProjectId { get; set; }
        public string ProjectTitle { get; set; }
        public string ProductName { get; set; }
        public string ProjectCode { get; set; }
        public int CycleAmount { get; set; }
        public ProjectStatus ProjectStatus { get; set; }
        public decimal Financing { get; set; }
        public DateTime ReleaseTime { get; set; }
        /// <summary>
        /// (预计)起息日
        /// </summary>
        public DateTime BeginDate { get; set; }
        public int WaitDay { get; set; }
        public List<ProjectPolicyModel> ProjectPolicyModel { get; set; }
        public string PolicyDescription { get; set; }
        public string CompanyName { get; set; }
        public string LogoImage { get; set; }
    }
    public class ProjectPolicyModel
    {
        public int Id { get; set; }
        public decimal Rate { get; set; }
        public SettlementType SettlementType { get; set; }
        public BalanceType BalanceType { get; set; }
        public int Duration { get; set; }
        public DurationType DurationType { get; set; }
        public bool IsAttach { get; set; }
        /// <summary>
        /// 策略期数
        /// </summary>
        public int CycleAmount { get; set; }
        public string PolicyName { get; set; }
        public PolicyAddType AddType { get; set; }
    }
}
